package com.quanyan.financialSystem.entity.db;

import com.quanyan.common.Plugin.Page;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbBizPlaceMemberOpHistoryExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbBizPlaceMemberOpHistoryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNoIsNull() {
            addCriterion("no is null");
            return (Criteria) this;
        }

        public Criteria andNoIsNotNull() {
            addCriterion("no is not null");
            return (Criteria) this;
        }

        public Criteria andNoEqualTo(String value) {
            addCriterion("no =", value, "no");
            return (Criteria) this;
        }

        public Criteria andNoNotEqualTo(String value) {
            addCriterion("no <>", value, "no");
            return (Criteria) this;
        }

        public Criteria andNoGreaterThan(String value) {
            addCriterion("no >", value, "no");
            return (Criteria) this;
        }

        public Criteria andNoGreaterThanOrEqualTo(String value) {
            addCriterion("no >=", value, "no");
            return (Criteria) this;
        }

        public Criteria andNoLessThan(String value) {
            addCriterion("no <", value, "no");
            return (Criteria) this;
        }

        public Criteria andNoLessThanOrEqualTo(String value) {
            addCriterion("no <=", value, "no");
            return (Criteria) this;
        }

        public Criteria andNoLike(String value) {
            addCriterion("no like", value, "no");
            return (Criteria) this;
        }

        public Criteria andNoNotLike(String value) {
            addCriterion("no not like", value, "no");
            return (Criteria) this;
        }

        public Criteria andNoIn(List<String> values) {
            addCriterion("no in", values, "no");
            return (Criteria) this;
        }

        public Criteria andNoNotIn(List<String> values) {
            addCriterion("no not in", values, "no");
            return (Criteria) this;
        }

        public Criteria andNoBetween(String value1, String value2) {
            addCriterion("no between", value1, value2, "no");
            return (Criteria) this;
        }

        public Criteria andNoNotBetween(String value1, String value2) {
            addCriterion("no not between", value1, value2, "no");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNull() {
            addCriterion("order_no is null");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNotNull() {
            addCriterion("order_no is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualTo(String value) {
            addCriterion("order_no =", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualTo(String value) {
            addCriterion("order_no <>", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThan(String value) {
            addCriterion("order_no >", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("order_no >=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThan(String value) {
            addCriterion("order_no <", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualTo(String value) {
            addCriterion("order_no <=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLike(String value) {
            addCriterion("order_no like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotLike(String value) {
            addCriterion("order_no not like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoIn(List<String> values) {
            addCriterion("order_no in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotIn(List<String> values) {
            addCriterion("order_no not in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoBetween(String value1, String value2) {
            addCriterion("order_no between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotBetween(String value1, String value2) {
            addCriterion("order_no not between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andRefundNoIsNull() {
            addCriterion("refund_no is null");
            return (Criteria) this;
        }

        public Criteria andRefundNoIsNotNull() {
            addCriterion("refund_no is not null");
            return (Criteria) this;
        }

        public Criteria andRefundNoEqualTo(String value) {
            addCriterion("refund_no =", value, "refundNo");
            return (Criteria) this;
        }

        public Criteria andRefundNoNotEqualTo(String value) {
            addCriterion("refund_no <>", value, "refundNo");
            return (Criteria) this;
        }

        public Criteria andRefundNoGreaterThan(String value) {
            addCriterion("refund_no >", value, "refundNo");
            return (Criteria) this;
        }

        public Criteria andRefundNoGreaterThanOrEqualTo(String value) {
            addCriterion("refund_no >=", value, "refundNo");
            return (Criteria) this;
        }

        public Criteria andRefundNoLessThan(String value) {
            addCriterion("refund_no <", value, "refundNo");
            return (Criteria) this;
        }

        public Criteria andRefundNoLessThanOrEqualTo(String value) {
            addCriterion("refund_no <=", value, "refundNo");
            return (Criteria) this;
        }

        public Criteria andRefundNoLike(String value) {
            addCriterion("refund_no like", value, "refundNo");
            return (Criteria) this;
        }

        public Criteria andRefundNoNotLike(String value) {
            addCriterion("refund_no not like", value, "refundNo");
            return (Criteria) this;
        }

        public Criteria andRefundNoIn(List<String> values) {
            addCriterion("refund_no in", values, "refundNo");
            return (Criteria) this;
        }

        public Criteria andRefundNoNotIn(List<String> values) {
            addCriterion("refund_no not in", values, "refundNo");
            return (Criteria) this;
        }

        public Criteria andRefundNoBetween(String value1, String value2) {
            addCriterion("refund_no between", value1, value2, "refundNo");
            return (Criteria) this;
        }

        public Criteria andRefundNoNotBetween(String value1, String value2) {
            addCriterion("refund_no not between", value1, value2, "refundNo");
            return (Criteria) this;
        }

        public Criteria andInnerCardNoIsNull() {
            addCriterion("inner_card_no is null");
            return (Criteria) this;
        }

        public Criteria andInnerCardNoIsNotNull() {
            addCriterion("inner_card_no is not null");
            return (Criteria) this;
        }

        public Criteria andInnerCardNoEqualTo(String value) {
            addCriterion("inner_card_no =", value, "innerCardNo");
            return (Criteria) this;
        }

        public Criteria andInnerCardNoNotEqualTo(String value) {
            addCriterion("inner_card_no <>", value, "innerCardNo");
            return (Criteria) this;
        }

        public Criteria andInnerCardNoGreaterThan(String value) {
            addCriterion("inner_card_no >", value, "innerCardNo");
            return (Criteria) this;
        }

        public Criteria andInnerCardNoGreaterThanOrEqualTo(String value) {
            addCriterion("inner_card_no >=", value, "innerCardNo");
            return (Criteria) this;
        }

        public Criteria andInnerCardNoLessThan(String value) {
            addCriterion("inner_card_no <", value, "innerCardNo");
            return (Criteria) this;
        }

        public Criteria andInnerCardNoLessThanOrEqualTo(String value) {
            addCriterion("inner_card_no <=", value, "innerCardNo");
            return (Criteria) this;
        }

        public Criteria andInnerCardNoLike(String value) {
            addCriterion("inner_card_no like", value, "innerCardNo");
            return (Criteria) this;
        }

        public Criteria andInnerCardNoNotLike(String value) {
            addCriterion("inner_card_no not like", value, "innerCardNo");
            return (Criteria) this;
        }

        public Criteria andInnerCardNoIn(List<String> values) {
            addCriterion("inner_card_no in", values, "innerCardNo");
            return (Criteria) this;
        }

        public Criteria andInnerCardNoNotIn(List<String> values) {
            addCriterion("inner_card_no not in", values, "innerCardNo");
            return (Criteria) this;
        }

        public Criteria andInnerCardNoBetween(String value1, String value2) {
            addCriterion("inner_card_no between", value1, value2, "innerCardNo");
            return (Criteria) this;
        }

        public Criteria andInnerCardNoNotBetween(String value1, String value2) {
            addCriterion("inner_card_no not between", value1, value2, "innerCardNo");
            return (Criteria) this;
        }

        public Criteria andCardTypeIdIsNull() {
            addCriterion("card_type_id is null");
            return (Criteria) this;
        }

        public Criteria andCardTypeIdIsNotNull() {
            addCriterion("card_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andCardTypeIdEqualTo(Integer value) {
            addCriterion("card_type_id =", value, "cardTypeId");
            return (Criteria) this;
        }

        public Criteria andCardTypeIdNotEqualTo(Integer value) {
            addCriterion("card_type_id <>", value, "cardTypeId");
            return (Criteria) this;
        }

        public Criteria andCardTypeIdGreaterThan(Integer value) {
            addCriterion("card_type_id >", value, "cardTypeId");
            return (Criteria) this;
        }

        public Criteria andCardTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("card_type_id >=", value, "cardTypeId");
            return (Criteria) this;
        }

        public Criteria andCardTypeIdLessThan(Integer value) {
            addCriterion("card_type_id <", value, "cardTypeId");
            return (Criteria) this;
        }

        public Criteria andCardTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("card_type_id <=", value, "cardTypeId");
            return (Criteria) this;
        }

        public Criteria andCardTypeIdIn(List<Integer> values) {
            addCriterion("card_type_id in", values, "cardTypeId");
            return (Criteria) this;
        }

        public Criteria andCardTypeIdNotIn(List<Integer> values) {
            addCriterion("card_type_id not in", values, "cardTypeId");
            return (Criteria) this;
        }

        public Criteria andCardTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("card_type_id between", value1, value2, "cardTypeId");
            return (Criteria) this;
        }

        public Criteria andCardTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("card_type_id not between", value1, value2, "cardTypeId");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNull() {
            addCriterion("place_id is null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNotNull() {
            addCriterion("place_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdEqualTo(Integer value) {
            addCriterion("place_id =", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotEqualTo(Integer value) {
            addCriterion("place_id <>", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThan(Integer value) {
            addCriterion("place_id >", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("place_id >=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThan(Integer value) {
            addCriterion("place_id <", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThanOrEqualTo(Integer value) {
            addCriterion("place_id <=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIn(List<Integer> values) {
            addCriterion("place_id in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotIn(List<Integer> values) {
            addCriterion("place_id not in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdBetween(Integer value1, Integer value2) {
            addCriterion("place_id between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotBetween(Integer value1, Integer value2) {
            addCriterion("place_id not between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(BigDecimal value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(BigDecimal value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(BigDecimal value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(BigDecimal value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<BigDecimal> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<BigDecimal> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andPreferentialAmountIsNull() {
            addCriterion("preferential_amount is null");
            return (Criteria) this;
        }

        public Criteria andPreferentialAmountIsNotNull() {
            addCriterion("preferential_amount is not null");
            return (Criteria) this;
        }

        public Criteria andPreferentialAmountEqualTo(BigDecimal value) {
            addCriterion("preferential_amount =", value, "preferentialAmount");
            return (Criteria) this;
        }

        public Criteria andPreferentialAmountNotEqualTo(BigDecimal value) {
            addCriterion("preferential_amount <>", value, "preferentialAmount");
            return (Criteria) this;
        }

        public Criteria andPreferentialAmountGreaterThan(BigDecimal value) {
            addCriterion("preferential_amount >", value, "preferentialAmount");
            return (Criteria) this;
        }

        public Criteria andPreferentialAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("preferential_amount >=", value, "preferentialAmount");
            return (Criteria) this;
        }

        public Criteria andPreferentialAmountLessThan(BigDecimal value) {
            addCriterion("preferential_amount <", value, "preferentialAmount");
            return (Criteria) this;
        }

        public Criteria andPreferentialAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("preferential_amount <=", value, "preferentialAmount");
            return (Criteria) this;
        }

        public Criteria andPreferentialAmountIn(List<BigDecimal> values) {
            addCriterion("preferential_amount in", values, "preferentialAmount");
            return (Criteria) this;
        }

        public Criteria andPreferentialAmountNotIn(List<BigDecimal> values) {
            addCriterion("preferential_amount not in", values, "preferentialAmount");
            return (Criteria) this;
        }

        public Criteria andPreferentialAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("preferential_amount between", value1, value2, "preferentialAmount");
            return (Criteria) this;
        }

        public Criteria andPreferentialAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("preferential_amount not between", value1, value2, "preferentialAmount");
            return (Criteria) this;
        }

        public Criteria andOpCardCountIsNull() {
            addCriterion("op_card_count is null");
            return (Criteria) this;
        }

        public Criteria andOpCardCountIsNotNull() {
            addCriterion("op_card_count is not null");
            return (Criteria) this;
        }

        public Criteria andOpCardCountEqualTo(Integer value) {
            addCriterion("op_card_count =", value, "opCardCount");
            return (Criteria) this;
        }

        public Criteria andOpCardCountNotEqualTo(Integer value) {
            addCriterion("op_card_count <>", value, "opCardCount");
            return (Criteria) this;
        }

        public Criteria andOpCardCountGreaterThan(Integer value) {
            addCriterion("op_card_count >", value, "opCardCount");
            return (Criteria) this;
        }

        public Criteria andOpCardCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("op_card_count >=", value, "opCardCount");
            return (Criteria) this;
        }

        public Criteria andOpCardCountLessThan(Integer value) {
            addCriterion("op_card_count <", value, "opCardCount");
            return (Criteria) this;
        }

        public Criteria andOpCardCountLessThanOrEqualTo(Integer value) {
            addCriterion("op_card_count <=", value, "opCardCount");
            return (Criteria) this;
        }

        public Criteria andOpCardCountIn(List<Integer> values) {
            addCriterion("op_card_count in", values, "opCardCount");
            return (Criteria) this;
        }

        public Criteria andOpCardCountNotIn(List<Integer> values) {
            addCriterion("op_card_count not in", values, "opCardCount");
            return (Criteria) this;
        }

        public Criteria andOpCardCountBetween(Integer value1, Integer value2) {
            addCriterion("op_card_count between", value1, value2, "opCardCount");
            return (Criteria) this;
        }

        public Criteria andOpCardCountNotBetween(Integer value1, Integer value2) {
            addCriterion("op_card_count not between", value1, value2, "opCardCount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeAmountIsNull() {
            addCriterion("op_before_amount is null");
            return (Criteria) this;
        }

        public Criteria andOpBeforeAmountIsNotNull() {
            addCriterion("op_before_amount is not null");
            return (Criteria) this;
        }

        public Criteria andOpBeforeAmountEqualTo(BigDecimal value) {
            addCriterion("op_before_amount =", value, "opBeforeAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeAmountNotEqualTo(BigDecimal value) {
            addCriterion("op_before_amount <>", value, "opBeforeAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeAmountGreaterThan(BigDecimal value) {
            addCriterion("op_before_amount >", value, "opBeforeAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("op_before_amount >=", value, "opBeforeAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeAmountLessThan(BigDecimal value) {
            addCriterion("op_before_amount <", value, "opBeforeAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("op_before_amount <=", value, "opBeforeAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeAmountIn(List<BigDecimal> values) {
            addCriterion("op_before_amount in", values, "opBeforeAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeAmountNotIn(List<BigDecimal> values) {
            addCriterion("op_before_amount not in", values, "opBeforeAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("op_before_amount between", value1, value2, "opBeforeAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("op_before_amount not between", value1, value2, "opBeforeAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterAmountIsNull() {
            addCriterion("op_after_amount is null");
            return (Criteria) this;
        }

        public Criteria andOpAfterAmountIsNotNull() {
            addCriterion("op_after_amount is not null");
            return (Criteria) this;
        }

        public Criteria andOpAfterAmountEqualTo(BigDecimal value) {
            addCriterion("op_after_amount =", value, "opAfterAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterAmountNotEqualTo(BigDecimal value) {
            addCriterion("op_after_amount <>", value, "opAfterAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterAmountGreaterThan(BigDecimal value) {
            addCriterion("op_after_amount >", value, "opAfterAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("op_after_amount >=", value, "opAfterAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterAmountLessThan(BigDecimal value) {
            addCriterion("op_after_amount <", value, "opAfterAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("op_after_amount <=", value, "opAfterAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterAmountIn(List<BigDecimal> values) {
            addCriterion("op_after_amount in", values, "opAfterAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterAmountNotIn(List<BigDecimal> values) {
            addCriterion("op_after_amount not in", values, "opAfterAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("op_after_amount between", value1, value2, "opAfterAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("op_after_amount not between", value1, value2, "opAfterAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeGiveAmountIsNull() {
            addCriterion("op_before_give_amount is null");
            return (Criteria) this;
        }

        public Criteria andOpBeforeGiveAmountIsNotNull() {
            addCriterion("op_before_give_amount is not null");
            return (Criteria) this;
        }

        public Criteria andOpBeforeGiveAmountEqualTo(BigDecimal value) {
            addCriterion("op_before_give_amount =", value, "opBeforeGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeGiveAmountNotEqualTo(BigDecimal value) {
            addCriterion("op_before_give_amount <>", value, "opBeforeGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeGiveAmountGreaterThan(BigDecimal value) {
            addCriterion("op_before_give_amount >", value, "opBeforeGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeGiveAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("op_before_give_amount >=", value, "opBeforeGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeGiveAmountLessThan(BigDecimal value) {
            addCriterion("op_before_give_amount <", value, "opBeforeGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeGiveAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("op_before_give_amount <=", value, "opBeforeGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeGiveAmountIn(List<BigDecimal> values) {
            addCriterion("op_before_give_amount in", values, "opBeforeGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeGiveAmountNotIn(List<BigDecimal> values) {
            addCriterion("op_before_give_amount not in", values, "opBeforeGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeGiveAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("op_before_give_amount between", value1, value2, "opBeforeGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeGiveAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("op_before_give_amount not between", value1, value2, "opBeforeGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterGiveAmountIsNull() {
            addCriterion("op_after_give_amount is null");
            return (Criteria) this;
        }

        public Criteria andOpAfterGiveAmountIsNotNull() {
            addCriterion("op_after_give_amount is not null");
            return (Criteria) this;
        }

        public Criteria andOpAfterGiveAmountEqualTo(BigDecimal value) {
            addCriterion("op_after_give_amount =", value, "opAfterGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterGiveAmountNotEqualTo(BigDecimal value) {
            addCriterion("op_after_give_amount <>", value, "opAfterGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterGiveAmountGreaterThan(BigDecimal value) {
            addCriterion("op_after_give_amount >", value, "opAfterGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterGiveAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("op_after_give_amount >=", value, "opAfterGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterGiveAmountLessThan(BigDecimal value) {
            addCriterion("op_after_give_amount <", value, "opAfterGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterGiveAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("op_after_give_amount <=", value, "opAfterGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterGiveAmountIn(List<BigDecimal> values) {
            addCriterion("op_after_give_amount in", values, "opAfterGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterGiveAmountNotIn(List<BigDecimal> values) {
            addCriterion("op_after_give_amount not in", values, "opAfterGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterGiveAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("op_after_give_amount between", value1, value2, "opAfterGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpAfterGiveAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("op_after_give_amount not between", value1, value2, "opAfterGiveAmount");
            return (Criteria) this;
        }

        public Criteria andOpBeforeNumbersIsNull() {
            addCriterion("op_before_numbers is null");
            return (Criteria) this;
        }

        public Criteria andOpBeforeNumbersIsNotNull() {
            addCriterion("op_before_numbers is not null");
            return (Criteria) this;
        }

        public Criteria andOpBeforeNumbersEqualTo(Integer value) {
            addCriterion("op_before_numbers =", value, "opBeforeNumbers");
            return (Criteria) this;
        }

        public Criteria andOpBeforeNumbersNotEqualTo(Integer value) {
            addCriterion("op_before_numbers <>", value, "opBeforeNumbers");
            return (Criteria) this;
        }

        public Criteria andOpBeforeNumbersGreaterThan(Integer value) {
            addCriterion("op_before_numbers >", value, "opBeforeNumbers");
            return (Criteria) this;
        }

        public Criteria andOpBeforeNumbersGreaterThanOrEqualTo(Integer value) {
            addCriterion("op_before_numbers >=", value, "opBeforeNumbers");
            return (Criteria) this;
        }

        public Criteria andOpBeforeNumbersLessThan(Integer value) {
            addCriterion("op_before_numbers <", value, "opBeforeNumbers");
            return (Criteria) this;
        }

        public Criteria andOpBeforeNumbersLessThanOrEqualTo(Integer value) {
            addCriterion("op_before_numbers <=", value, "opBeforeNumbers");
            return (Criteria) this;
        }

        public Criteria andOpBeforeNumbersIn(List<Integer> values) {
            addCriterion("op_before_numbers in", values, "opBeforeNumbers");
            return (Criteria) this;
        }

        public Criteria andOpBeforeNumbersNotIn(List<Integer> values) {
            addCriterion("op_before_numbers not in", values, "opBeforeNumbers");
            return (Criteria) this;
        }

        public Criteria andOpBeforeNumbersBetween(Integer value1, Integer value2) {
            addCriterion("op_before_numbers between", value1, value2, "opBeforeNumbers");
            return (Criteria) this;
        }

        public Criteria andOpBeforeNumbersNotBetween(Integer value1, Integer value2) {
            addCriterion("op_before_numbers not between", value1, value2, "opBeforeNumbers");
            return (Criteria) this;
        }

        public Criteria andOpAfterNumbersIsNull() {
            addCriterion("op_after_numbers is null");
            return (Criteria) this;
        }

        public Criteria andOpAfterNumbersIsNotNull() {
            addCriterion("op_after_numbers is not null");
            return (Criteria) this;
        }

        public Criteria andOpAfterNumbersEqualTo(Integer value) {
            addCriterion("op_after_numbers =", value, "opAfterNumbers");
            return (Criteria) this;
        }

        public Criteria andOpAfterNumbersNotEqualTo(Integer value) {
            addCriterion("op_after_numbers <>", value, "opAfterNumbers");
            return (Criteria) this;
        }

        public Criteria andOpAfterNumbersGreaterThan(Integer value) {
            addCriterion("op_after_numbers >", value, "opAfterNumbers");
            return (Criteria) this;
        }

        public Criteria andOpAfterNumbersGreaterThanOrEqualTo(Integer value) {
            addCriterion("op_after_numbers >=", value, "opAfterNumbers");
            return (Criteria) this;
        }

        public Criteria andOpAfterNumbersLessThan(Integer value) {
            addCriterion("op_after_numbers <", value, "opAfterNumbers");
            return (Criteria) this;
        }

        public Criteria andOpAfterNumbersLessThanOrEqualTo(Integer value) {
            addCriterion("op_after_numbers <=", value, "opAfterNumbers");
            return (Criteria) this;
        }

        public Criteria andOpAfterNumbersIn(List<Integer> values) {
            addCriterion("op_after_numbers in", values, "opAfterNumbers");
            return (Criteria) this;
        }

        public Criteria andOpAfterNumbersNotIn(List<Integer> values) {
            addCriterion("op_after_numbers not in", values, "opAfterNumbers");
            return (Criteria) this;
        }

        public Criteria andOpAfterNumbersBetween(Integer value1, Integer value2) {
            addCriterion("op_after_numbers between", value1, value2, "opAfterNumbers");
            return (Criteria) this;
        }

        public Criteria andOpAfterNumbersNotBetween(Integer value1, Integer value2) {
            addCriterion("op_after_numbers not between", value1, value2, "opAfterNumbers");
            return (Criteria) this;
        }

        public Criteria andSrcIsNull() {
            addCriterion("src is null");
            return (Criteria) this;
        }

        public Criteria andSrcIsNotNull() {
            addCriterion("src is not null");
            return (Criteria) this;
        }

        public Criteria andSrcEqualTo(Integer value) {
            addCriterion("src =", value, "src");
            return (Criteria) this;
        }

        public Criteria andSrcNotEqualTo(Integer value) {
            addCriterion("src <>", value, "src");
            return (Criteria) this;
        }

        public Criteria andSrcGreaterThan(Integer value) {
            addCriterion("src >", value, "src");
            return (Criteria) this;
        }

        public Criteria andSrcGreaterThanOrEqualTo(Integer value) {
            addCriterion("src >=", value, "src");
            return (Criteria) this;
        }

        public Criteria andSrcLessThan(Integer value) {
            addCriterion("src <", value, "src");
            return (Criteria) this;
        }

        public Criteria andSrcLessThanOrEqualTo(Integer value) {
            addCriterion("src <=", value, "src");
            return (Criteria) this;
        }

        public Criteria andSrcIn(List<Integer> values) {
            addCriterion("src in", values, "src");
            return (Criteria) this;
        }

        public Criteria andSrcNotIn(List<Integer> values) {
            addCriterion("src not in", values, "src");
            return (Criteria) this;
        }

        public Criteria andSrcBetween(Integer value1, Integer value2) {
            addCriterion("src between", value1, value2, "src");
            return (Criteria) this;
        }

        public Criteria andSrcNotBetween(Integer value1, Integer value2) {
            addCriterion("src not between", value1, value2, "src");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(Byte value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(Byte value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(Byte value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(Byte value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(Byte value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(Byte value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<Byte> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<Byte> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(Byte value1, Byte value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(Byte value1, Byte value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Byte value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Byte value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Byte value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Byte value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Byte value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Byte> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Byte> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Byte value1, Byte value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andSourceTypeIsNull() {
            addCriterion("source_type is null");
            return (Criteria) this;
        }

        public Criteria andSourceTypeIsNotNull() {
            addCriterion("source_type is not null");
            return (Criteria) this;
        }

        public Criteria andSourceTypeEqualTo(Byte value) {
            addCriterion("source_type =", value, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeNotEqualTo(Byte value) {
            addCriterion("source_type <>", value, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeGreaterThan(Byte value) {
            addCriterion("source_type >", value, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("source_type >=", value, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeLessThan(Byte value) {
            addCriterion("source_type <", value, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeLessThanOrEqualTo(Byte value) {
            addCriterion("source_type <=", value, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeIn(List<Byte> values) {
            addCriterion("source_type in", values, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeNotIn(List<Byte> values) {
            addCriterion("source_type not in", values, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeBetween(Byte value1, Byte value2) {
            addCriterion("source_type between", value1, value2, "sourceType");
            return (Criteria) this;
        }

        public Criteria andSourceTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("source_type not between", value1, value2, "sourceType");
            return (Criteria) this;
        }

        public Criteria andAdminPayTypeIsNull() {
            addCriterion("admin_pay_type is null");
            return (Criteria) this;
        }

        public Criteria andAdminPayTypeIsNotNull() {
            addCriterion("admin_pay_type is not null");
            return (Criteria) this;
        }

        public Criteria andAdminPayTypeEqualTo(Byte value) {
            addCriterion("admin_pay_type =", value, "adminPayType");
            return (Criteria) this;
        }

        public Criteria andAdminPayTypeNotEqualTo(Byte value) {
            addCriterion("admin_pay_type <>", value, "adminPayType");
            return (Criteria) this;
        }

        public Criteria andAdminPayTypeGreaterThan(Byte value) {
            addCriterion("admin_pay_type >", value, "adminPayType");
            return (Criteria) this;
        }

        public Criteria andAdminPayTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("admin_pay_type >=", value, "adminPayType");
            return (Criteria) this;
        }

        public Criteria andAdminPayTypeLessThan(Byte value) {
            addCriterion("admin_pay_type <", value, "adminPayType");
            return (Criteria) this;
        }

        public Criteria andAdminPayTypeLessThanOrEqualTo(Byte value) {
            addCriterion("admin_pay_type <=", value, "adminPayType");
            return (Criteria) this;
        }

        public Criteria andAdminPayTypeIn(List<Byte> values) {
            addCriterion("admin_pay_type in", values, "adminPayType");
            return (Criteria) this;
        }

        public Criteria andAdminPayTypeNotIn(List<Byte> values) {
            addCriterion("admin_pay_type not in", values, "adminPayType");
            return (Criteria) this;
        }

        public Criteria andAdminPayTypeBetween(Byte value1, Byte value2) {
            addCriterion("admin_pay_type between", value1, value2, "adminPayType");
            return (Criteria) this;
        }

        public Criteria andAdminPayTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("admin_pay_type not between", value1, value2, "adminPayType");
            return (Criteria) this;
        }

        public Criteria andCardTypeNameIsNull() {
            addCriterion("card_type_name is null");
            return (Criteria) this;
        }

        public Criteria andCardTypeNameIsNotNull() {
            addCriterion("card_type_name is not null");
            return (Criteria) this;
        }

        public Criteria andCardTypeNameEqualTo(String value) {
            addCriterion("card_type_name =", value, "cardTypeName");
            return (Criteria) this;
        }

        public Criteria andCardTypeNameNotEqualTo(String value) {
            addCriterion("card_type_name <>", value, "cardTypeName");
            return (Criteria) this;
        }

        public Criteria andCardTypeNameGreaterThan(String value) {
            addCriterion("card_type_name >", value, "cardTypeName");
            return (Criteria) this;
        }

        public Criteria andCardTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("card_type_name >=", value, "cardTypeName");
            return (Criteria) this;
        }

        public Criteria andCardTypeNameLessThan(String value) {
            addCriterion("card_type_name <", value, "cardTypeName");
            return (Criteria) this;
        }

        public Criteria andCardTypeNameLessThanOrEqualTo(String value) {
            addCriterion("card_type_name <=", value, "cardTypeName");
            return (Criteria) this;
        }

        public Criteria andCardTypeNameLike(String value) {
            addCriterion("card_type_name like", value, "cardTypeName");
            return (Criteria) this;
        }

        public Criteria andCardTypeNameNotLike(String value) {
            addCriterion("card_type_name not like", value, "cardTypeName");
            return (Criteria) this;
        }

        public Criteria andCardTypeNameIn(List<String> values) {
            addCriterion("card_type_name in", values, "cardTypeName");
            return (Criteria) this;
        }

        public Criteria andCardTypeNameNotIn(List<String> values) {
            addCriterion("card_type_name not in", values, "cardTypeName");
            return (Criteria) this;
        }

        public Criteria andCardTypeNameBetween(String value1, String value2) {
            addCriterion("card_type_name between", value1, value2, "cardTypeName");
            return (Criteria) this;
        }

        public Criteria andCardTypeNameNotBetween(String value1, String value2) {
            addCriterion("card_type_name not between", value1, value2, "cardTypeName");
            return (Criteria) this;
        }

        public Criteria andOpTypeNameIsNull() {
            addCriterion("op_type_name is null");
            return (Criteria) this;
        }

        public Criteria andOpTypeNameIsNotNull() {
            addCriterion("op_type_name is not null");
            return (Criteria) this;
        }

        public Criteria andOpTypeNameEqualTo(String value) {
            addCriterion("op_type_name =", value, "opTypeName");
            return (Criteria) this;
        }

        public Criteria andOpTypeNameNotEqualTo(String value) {
            addCriterion("op_type_name <>", value, "opTypeName");
            return (Criteria) this;
        }

        public Criteria andOpTypeNameGreaterThan(String value) {
            addCriterion("op_type_name >", value, "opTypeName");
            return (Criteria) this;
        }

        public Criteria andOpTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("op_type_name >=", value, "opTypeName");
            return (Criteria) this;
        }

        public Criteria andOpTypeNameLessThan(String value) {
            addCriterion("op_type_name <", value, "opTypeName");
            return (Criteria) this;
        }

        public Criteria andOpTypeNameLessThanOrEqualTo(String value) {
            addCriterion("op_type_name <=", value, "opTypeName");
            return (Criteria) this;
        }

        public Criteria andOpTypeNameLike(String value) {
            addCriterion("op_type_name like", value, "opTypeName");
            return (Criteria) this;
        }

        public Criteria andOpTypeNameNotLike(String value) {
            addCriterion("op_type_name not like", value, "opTypeName");
            return (Criteria) this;
        }

        public Criteria andOpTypeNameIn(List<String> values) {
            addCriterion("op_type_name in", values, "opTypeName");
            return (Criteria) this;
        }

        public Criteria andOpTypeNameNotIn(List<String> values) {
            addCriterion("op_type_name not in", values, "opTypeName");
            return (Criteria) this;
        }

        public Criteria andOpTypeNameBetween(String value1, String value2) {
            addCriterion("op_type_name between", value1, value2, "opTypeName");
            return (Criteria) this;
        }

        public Criteria andOpTypeNameNotBetween(String value1, String value2) {
            addCriterion("op_type_name not between", value1, value2, "opTypeName");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andMobileIsNull() {
            addCriterion("mobile is null");
            return (Criteria) this;
        }

        public Criteria andMobileIsNotNull() {
            addCriterion("mobile is not null");
            return (Criteria) this;
        }

        public Criteria andMobileEqualTo(String value) {
            addCriterion("mobile =", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotEqualTo(String value) {
            addCriterion("mobile <>", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThan(String value) {
            addCriterion("mobile >", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThanOrEqualTo(String value) {
            addCriterion("mobile >=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThan(String value) {
            addCriterion("mobile <", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThanOrEqualTo(String value) {
            addCriterion("mobile <=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLike(String value) {
            addCriterion("mobile like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotLike(String value) {
            addCriterion("mobile not like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileIn(List<String> values) {
            addCriterion("mobile in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotIn(List<String> values) {
            addCriterion("mobile not in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileBetween(String value1, String value2) {
            addCriterion("mobile between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotBetween(String value1, String value2) {
            addCriterion("mobile not between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andMemoIsNull() {
            addCriterion("memo is null");
            return (Criteria) this;
        }

        public Criteria andMemoIsNotNull() {
            addCriterion("memo is not null");
            return (Criteria) this;
        }

        public Criteria andMemoEqualTo(String value) {
            addCriterion("memo =", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotEqualTo(String value) {
            addCriterion("memo <>", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoGreaterThan(String value) {
            addCriterion("memo >", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoGreaterThanOrEqualTo(String value) {
            addCriterion("memo >=", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoLessThan(String value) {
            addCriterion("memo <", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoLessThanOrEqualTo(String value) {
            addCriterion("memo <=", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoLike(String value) {
            addCriterion("memo like", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotLike(String value) {
            addCriterion("memo not like", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoIn(List<String> values) {
            addCriterion("memo in", values, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotIn(List<String> values) {
            addCriterion("memo not in", values, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoBetween(String value1, String value2) {
            addCriterion("memo between", value1, value2, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotBetween(String value1, String value2) {
            addCriterion("memo not between", value1, value2, "memo");
            return (Criteria) this;
        }

        public Criteria andCreateUidIsNull() {
            addCriterion("create_uid is null");
            return (Criteria) this;
        }

        public Criteria andCreateUidIsNotNull() {
            addCriterion("create_uid is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUidEqualTo(Integer value) {
            addCriterion("create_uid =", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidNotEqualTo(Integer value) {
            addCriterion("create_uid <>", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidGreaterThan(Integer value) {
            addCriterion("create_uid >", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("create_uid >=", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidLessThan(Integer value) {
            addCriterion("create_uid <", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidLessThanOrEqualTo(Integer value) {
            addCriterion("create_uid <=", value, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidIn(List<Integer> values) {
            addCriterion("create_uid in", values, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidNotIn(List<Integer> values) {
            addCriterion("create_uid not in", values, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidBetween(Integer value1, Integer value2) {
            addCriterion("create_uid between", value1, value2, "createUid");
            return (Criteria) this;
        }

        public Criteria andCreateUidNotBetween(Integer value1, Integer value2) {
            addCriterion("create_uid not between", value1, value2, "createUid");
            return (Criteria) this;
        }

        public Criteria andCashStatusIsNull() {
            addCriterion("cash_status is null");
            return (Criteria) this;
        }

        public Criteria andCashStatusIsNotNull() {
            addCriterion("cash_status is not null");
            return (Criteria) this;
        }

        public Criteria andCashStatusEqualTo(Byte value) {
            addCriterion("cash_status =", value, "cashStatus");
            return (Criteria) this;
        }

        public Criteria andCashStatusNotEqualTo(Byte value) {
            addCriterion("cash_status <>", value, "cashStatus");
            return (Criteria) this;
        }

        public Criteria andCashStatusGreaterThan(Byte value) {
            addCriterion("cash_status >", value, "cashStatus");
            return (Criteria) this;
        }

        public Criteria andCashStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("cash_status >=", value, "cashStatus");
            return (Criteria) this;
        }

        public Criteria andCashStatusLessThan(Byte value) {
            addCriterion("cash_status <", value, "cashStatus");
            return (Criteria) this;
        }

        public Criteria andCashStatusLessThanOrEqualTo(Byte value) {
            addCriterion("cash_status <=", value, "cashStatus");
            return (Criteria) this;
        }

        public Criteria andCashStatusIn(List<Byte> values) {
            addCriterion("cash_status in", values, "cashStatus");
            return (Criteria) this;
        }

        public Criteria andCashStatusNotIn(List<Byte> values) {
            addCriterion("cash_status not in", values, "cashStatus");
            return (Criteria) this;
        }

        public Criteria andCashStatusBetween(Byte value1, Byte value2) {
            addCriterion("cash_status between", value1, value2, "cashStatus");
            return (Criteria) this;
        }

        public Criteria andCashStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("cash_status not between", value1, value2, "cashStatus");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNull() {
            addCriterion("pay_type is null");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNotNull() {
            addCriterion("pay_type is not null");
            return (Criteria) this;
        }

        public Criteria andPayTypeEqualTo(Integer value) {
            addCriterion("pay_type =", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotEqualTo(Integer value) {
            addCriterion("pay_type <>", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThan(Integer value) {
            addCriterion("pay_type >", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("pay_type >=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThan(Integer value) {
            addCriterion("pay_type <", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThanOrEqualTo(Integer value) {
            addCriterion("pay_type <=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeIn(List<Integer> values) {
            addCriterion("pay_type in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotIn(List<Integer> values) {
            addCriterion("pay_type not in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeBetween(Integer value1, Integer value2) {
            addCriterion("pay_type between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("pay_type not between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPlatformIsNull() {
            addCriterion("platform is null");
            return (Criteria) this;
        }

        public Criteria andPlatformIsNotNull() {
            addCriterion("platform is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformEqualTo(Integer value) {
            addCriterion("platform =", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformNotEqualTo(Integer value) {
            addCriterion("platform <>", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformGreaterThan(Integer value) {
            addCriterion("platform >", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformGreaterThanOrEqualTo(Integer value) {
            addCriterion("platform >=", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformLessThan(Integer value) {
            addCriterion("platform <", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformLessThanOrEqualTo(Integer value) {
            addCriterion("platform <=", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformIn(List<Integer> values) {
            addCriterion("platform in", values, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformNotIn(List<Integer> values) {
            addCriterion("platform not in", values, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformBetween(Integer value1, Integer value2) {
            addCriterion("platform between", value1, value2, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformNotBetween(Integer value1, Integer value2) {
            addCriterion("platform not between", value1, value2, "platform");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}